<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>展示用户数据</title>
</head>
<body>
<table border="1" style="width:500px;">
    <tr>
        <th>id</th>
        <th>name</th>
        <th>age</th>
        <th>tid</th>
    </tr>
    <tr th:each="student : ${userList}">
        <td th:text="${student.id}"></td>
        <td th:text="${student.name}"></td>
        <td th:text="${student.age}"></td>
        <td th:text="${student.tid}"></td>
    </tr>
</table>
</body>
</html>